﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Electure.DAL
{
    public static class RepositoryFactory
    {
        public static CategoryRepository GetCategoryRepository()
        {
            return new CategoryRepository();
        }
        public static ScienceDepartmentRepository GetScienceDepartmentRepository()
        {
            return new ScienceDepartmentRepository();
        }
        public static NewsRepository GetNewsRepository()
        {
            return new NewsRepository();
        }
        public static AttachmentRepository GetAttachmentRepository()
        {
            return new AttachmentRepository();
        }
        public static PublicationRepository GetPublicationRepository()
        {
            return new PublicationRepository();
        }
    }
}
